package com.ye.spring.pojo;

import java.util.Map;

public class User {

    private Integer id;

    private String name;

    private char gender;

    private Integer age;

    private Map<String, String> teacherMap;

    public User(Integer id, String name, char gender, Integer age) {
        this.id = id;
        this.name = name;
        this.gender = gender;
        this.age = age;
    }

    public User() {
    }

    public Map<String, String> getTeacherMap() {
        return teacherMap;
    }

    public void setTeacherMap(Map<String, String> teacherMap) {
        this.teacherMap = teacherMap;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public char getGender() {
        return gender;
    }

    public void setGender(char gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", gender=" + gender +
                ", age=" + age +
                ", teacherMap=" + teacherMap +
                '}';
    }
}
